package com.chainshop.expenseRequest.mapper;

import com.chainshop.common.core.domain.pojo.ExpenseRequests;

import java.util.List;


/**
 * 存储支出申请的Mapper接口
 * 
 * @author hmy
 * @date 2024-08-15
 */
public interface ExpenseRequestsMapper 
{
    /**
     * 查询存储支出申请的
     * 
     * @param id 存储支出申请的主键
     * @return 存储支出申请的
     */
    public ExpenseRequests selectExpenseRequestsById(Long id);

    /**
     * 查询存储支出申请的列表
     * 
     * @param expenseRequests 存储支出申请的
     * @return 存储支出申请的集合
     */
    public List<ExpenseRequests> selectExpenseRequestsList(ExpenseRequests expenseRequests);

    /**
     * 新增存储支出申请的
     * 
     * @param expenseRequests 存储支出申请的
     * @return 结果
     */
    public int insertExpenseRequests(ExpenseRequests expenseRequests);

    /**
     * 修改存储支出申请的
     * 
     * @param expenseRequests 存储支出申请的
     * @return 结果
     */
    public int updateExpenseRequests(ExpenseRequests expenseRequests);

    /**
     * 删除存储支出申请的
     * 
     * @param id 存储支出申请的主键
     * @return 结果
     */
    public int deleteExpenseRequestsById(Long id);

    /**
     * 批量删除存储支出申请的
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteExpenseRequestsByIds(Long[] ids);
}
